package com.dhcc.ws.webservice.service.basedata;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.ws.BindingType;

/**
 * 
* <p>标题: BaseDataService.java</p>
* <p>业务描述:健康门户开发平台</p>
* <p>公司:东华软件股份公司</p>
* <p>版权:dhcc2019</p>
* @author 李广斌
* @date 2019年12月18日
* @version V1.0
 */
@WebService(portName="bdWSSoap")
@BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
public class BaseDataService implements BaseDataInterface{

	@Override
	public String findOrg(@WebParam(name="orgRequest")String inputString) {
		return "<Response>\r\n" + 
				"    <return_code>0</return_code>\r\n" + 
				"    <return_desc>查询成功</return_desc>\r\n" + 
				"    <items>\r\n" + 
				"        <item>\r\n" + 
				"            <org_code>机构代码</org_code>\r\n" + 
				"            <org_name>机构名称</org_name>\r\n" + 
				"        </item>\r\n" + 
				"    </items>\r\n" + 
				"</Response>";
	}
	@Override
	@WebMethod(exclude=true)
	public String findDep(String inputString) {
		return "<Response>\r\n" + 
				"    <return_code>0</return_code>\r\n" + 
				"    <return_desc>查询成功</return_desc>\r\n" + 
				"    <items>\r\n" + 
				"        <item>\r\n" + 
				"            <org_code>机构代码</org_code>\r\n" + 
				"            <org_name>机构名称</org_name>\r\n" + 
				"        </item>\r\n" + 
				"    </items>\r\n" + 
				"</Response>";
	}
}
